The class macProcessMgr will get raw events from the macEventMgr and distribute them to the processes. The scheduling is done on the basis of what kind of event it is, which window is active and which window is hit by a "mouse down" event. The code in this class emboddies much of the "feel" of a macintosh application.
Operations:
ΓÇó Run - makes the process manager take over control.
ΓÇó Stop - the process manager releases control when the currently
active process terminates or calls waitnextevent.
ΓÇó RegisterProcess(aP,aW) - register the macProcess "aP" to
recieve the events concerning the macWindow "aW".
ΓÇó RegisterMenuProcess - register a process to take care of